/**
 * 
 */
package com.content.common.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.content.dto.Departmentsite;
import com.content.persistence.DepartMentSiteMapper;

/**
 * @author Administrator
 * 
 */
@Service("departMentSiteServiceImpl")
public class DepartMentSiteServiceImpl implements DepartMentSiteService {

	@Autowired
	DepartMentSiteMapper departMentSiteMapper;

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.content.common.service.DepartMentSiteService#getDepartmentsiteById
	 * (java.lang.String)
	 */
	@Override
	public Departmentsite getDepartmentsiteById(String departmentSiteId) {

		if (null != departmentSiteId && !"".equals(departmentSiteId))
			return departMentSiteMapper.getDepartmentsiteById(departmentSiteId);
		return null;
	}
}
